package com.lxitedu.chain.processor;

import com.lxitedu.utils.Context;
import com.lxitedu.utils.LxitException;
import com.lxitedu.utils.ThreadPool;

public class CreateThreadPoolChain extends Chain {

  @Override
  public void process(Context context) throws LxitException {
    ThreadPool threadPool = new ThreadPool(context);
    context.setThreadPool(threadPool);
    processNext(context);
  }

}
